<nz-select style="width: 140px;" [(ngModel)]="selectedValue" (ngModelChange)="selectChange($event)"
    nzPlaceHolder="请选择图例">
    <nz-option *ngFor="let i of mapLegendService.mapLegendList" [nzValue]="i.value" [nzLabel]="i.label"></nz-option>
</nz-select>
<i class="close" nz-icon nzType="down" nzTheme="outline" (click)="clickClose()"></i>

<div *ngFor="let item of mapLegend" class="item">
    <div class="item-color" [ngStyle]="{'backgroundColor': item.color}"></div>
    <div class="item-name" [title]="item.name">{{item.name}}</div>
</div>
